home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / upc12bs1.zip / LIB / import.h < prev    next >
Text File  |  1993-09-02  |  2KB  |  51 lines

  1. /*--------------------------------------------------------------------*/
  2. /*    i m p o r t . h                                                 */
  3. /*--------------------------------------------------------------------*/
  4.  
  5. /*--------------------------------------------------------------------*/
  6. /*       Changes Copyright (c) 1989-1993 by Kendra Electronic         */
  7. /*       Wonderworks.                                                 */
  8. /*                                                                    */
  9. /*       All rights reserved except those explicitly granted by       */
  10. /*       the UUPC/extended license agreement.                         */
  11. /*--------------------------------------------------------------------*/
  12.  
  13. /*--------------------------------------------------------------------*/
  14. /*                          RCS Information                           */
  15. /*--------------------------------------------------------------------*/
  16.  
  17. /*
  18.  *    $Id: import.h 1.2 1993/09/02 12:08:49 ahd Exp $
  19.  *
  20.  *    Revision history:
  21.  *    $Log: import.h $
  22.  *     Revision 1.2  1993/09/02  12:08:49  ahd
  23.  *     HPFS Support
  24.  *
  25.  */
  26.  
  27. /*--------------------------------------------------------------------*/
  28. /*    Constants used for mapping between character sets; changing     */
  29. /*    any of these parameters requires clearing all the files from    */
  30. /*    UUPC/extended spool directories.                                */
  31. /*--------------------------------------------------------------------*/
  32.  
  33. #define DOSCHARS  "!#$%&'()-0123456789@^_`abcdefghijklmnopqrstuvwxyz{}~"
  34.                               /* List of allowed characters in MS-DOS
  35.                                  file names; from Page 1.15 of Zenith
  36.                                  MS-DOS 3 manual                     */
  37. #define UNIX_START_C '#'      /* First character in the UNIX char set */
  38.                               /* we map to the DOS character set      */
  39. #define UNIX_END_C   'z'      /* last UNIX char we map                */
  40.  
  41. /*--------------------------------------------------------------------*/
  42. /*    Routines defined in import.c                                    */
  43. /*--------------------------------------------------------------------*/
  44.  
  45. void importpath(char *host,
  46.                 char const *canon,
  47.                 char const *remote);
  48.  
  49. boolean ValidDOSName( const char *s,
  50.                       const boolean longname );
  51.